package com.fw4j.jdbc.entity;

import java.util.Arrays;

import com.fw4j.jdbc.annotation.Query;
import com.fw4j.jdbc.annotation.Where;

public class MethodInfo {
	private String name;
	private Class[] paramectersType;
	private Class returnType;
	private Query query;
	private Where where;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Class[] getParamectersType() {
		return paramectersType;
	}
	public void setParamectersType(Class[] paramectersType) {
		this.paramectersType = paramectersType;
	}
	public Class getReturnType() {
		return returnType;
	}
	public void setReturnType(Class returnType) {
		this.returnType = returnType;
	}
	public Query getQuery() {
		return query;
	}
	public void setQuery(Query query) {
		this.query = query;
	}
	public Where getWhere() {
		return where;
	}
	public void setWhere(Where where) {
		this.where = where;
	}
	@Override
	public String toString() {
		return "MethodInfo [name=" + name + ", paramectersType="
				+ Arrays.toString(paramectersType) + ", returnType="
				+ returnType + ", query=" + query + ", where=" + where + "]";
	}
}
